package com.mm.mapper;

import com.mm.bo.AttendanceSearchBo;
import com.mm.my.mapper.MyMapper;
import com.mm.pojo.AttendanceInfo;
import com.mm.vo.AttendanceInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AttendanceInfoMapper extends MyMapper<AttendanceInfo> {

    /**
     * 员工考勤总条数查询
     *
     * @param attendanceSearchBo
     * @return
     */
    Integer findAttendanceCount(AttendanceSearchBo attendanceSearchBo);

    /**
     * 员工考勤列表查询
     *
     * @param attendanceSearchBo
     * @return
     */
    List<AttendanceInfoVo> findAttendanceInfo(AttendanceSearchBo attendanceSearchBo);
}